<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Delivering mail',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/07/16.jpg" alt="An artichoke flower" class="framed-centred-image" width="800" height="480"/>
<section id="diet">
	<h2>Dietary intake</h2>
	<p>
		For breakfast, I had 70 grams of cereal and 100 grams of soy milk.
		For lunch, I had a 300-gram soft taco.
		I later snacked on 176 pistachios.
		I had a 287-gram soft taco for dinner, but ended up having a 320-gram one later as well because they&apos;re not very filling.
	</p>
</section>
<section id="mail">
	<h2>Mis-delivered mail</h2>
	<p>
		I got the letter to the complex, but they recipient wasn&apos;t home.
		I was going to leave it at their door for them, but they had a note there saying to drop any packages off at the complex&apos;s office if they weren&apos;t home to claim them.
		A letter&apos;s not really a package, but it seems close enough to me.
		When I handed it to the manager, they said the recipient was actually coming in later today to pick up a package, so they&apos;d give them the letter at that time.
		Perfect.
		Mission accomplished.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			Most methods do relate to object behaviour as you said.
			It&apos;s important to note though that there are also static methods, which don&apos;t operate on specific objects.
			This is particularly important in languages such as Java, which don&apos;t have non-method functions.
			For example, the <code>main()</code> method of a Java class, if present, is usually static and gets called by the Java Virtual Machine itself when you run your program.
			There&apos;s no object that gets instantiated before this method gets called, and it doesn&apos;t operate in the context of an object or implement any object behaviour.
		</p>
	</blockquote>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/img/CC_BY-SA_3.0/minetest.net./weblog/2019/07/16.png" alt="A watch tower near the main bridge" class="framed-centred-image" width="1024" height="600"/>
	<p>
		I didn&apos;t really do much in the game today.
		I had other stuff I needed to get done.
		I did harvest a little wood to start building out the bridge to the island with mushrooms though.
	</p>
</section>
END
);
